<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<link rel="stylesheet" type="text/css" href="/css/report.css"/>
<script type="text/javascript" src="/js/consult.js"></script>

<input type="hidden" id="pathName" name="pathName" value="<s:property value="consultInfoDetaill.pathName"/>"/>	
<input type="hidden" id="fileName" name="fileName" value="<s:property value="consultInfoDetail.fileName"/>"/>	

<!-- 오른쪽 내용 시작 -->
      <dl class="Right_Contents_area">
        <dd class="Center_Top_title"> <span class="top_title"><img src="/images/report/consult/SubContents_Tit_01.gif" width="370" height="42" alt="지재권상담 일지" /></span> <span class="top_navi">HOME > 업무보고 > 지재권상담 일지</span></dd>
        <dd class="Right_Contents_Search"><img src="/images/report/consult/SubContents_Tit_CenterChoice.gif" width="81" height="21" alt="센터선택" /></dd>
        <form name="consult_modify_form" method="post" action="/consult/consultModify.desk" enctype="multipart/form-data">
       		<input type="hidden" name="ConsultingSeq" value="<s:property value="consultInfoDetail.ConsultingSeq"/>"/>
         <dd class="Right_Contents_SearchOption">
         	<input type="hidden" name="deskCode" value="<s:property value="#session.deskCode"/>"/>
	         <span style="font-weight: bold; color: blue;"><s:property value="#session.deskCodeValue"/></span>
        </dd>
        <dd class="Center_Top_contents">
          <div id="LIst_Zone">
            <dl>
              <dd>
              <table class="Writeboard" border="1" cellspacing="0" summary="글 내용을 표시">
                <caption> 글 읽기</caption>
                <colgroup><col width="145px"><col width="253px"><col width="90px"><col width="230px"></colgroup>
                <tbody>
                  <tr>
                    <th scope="row" class="Top_line"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />회사/담당자 선택 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3" class="Top_line">
                    	<input type="text" name="" id="companyName_input" style="width:200px;" readonly="readonly" value="<s:property value="consultInfoDetail.companyName"/>"/>
                    	<input type="text" name="" id="customerName_input" style="width:200px;" readonly="readonly" value="<s:property value="consultInfoDetail.customerName"/>"/>
                    	<input type="hidden" name="companySeq" value="<s:property value="consultInfoDetail.companySeq"/>"/>
                    	<input type="hidden" name="customerSeq" value="<s:property value="consultInfoDetail.customerSeq"/>"/>
                    	<span class="writeboard_btn"><img src="/images/report/consult/btn_Company.gif" id="selectCompany" width="94" height="22" alt="회사 찾아보기" style="cursor:pointer"/></span>
                    </td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />소요시간</th>
                    <td><input type="text" name="takeTime" value="<s:property value="consultInfoDetail.takeTime"/>" maxlength="10" style="width:150px;"/>&nbsp;<label>시간</label></td>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담일자 <span class="TEXT_Red_Bold">*</span></th>
                    <td><input type="text" name="consultingDate" id="datepicker1" value="<s:property value="consultInfoDetail.consultingDate"/>" style="width:150px;"/></td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담분야 1 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingTypeCode" list="#{'1':'권리확보','4':'침해대응','3':'기타(사업안내 등)'}" value="%{consultInfoDetail.consultingTypeCode}" cssClass="i_radio"/>
                    </td>
                  </tr>
                  <tr id="toc_sub" style="display:none">
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />권리확보 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingSubTypeCode" list="#{'1':'출원 관련','2':'등록관련','3':'기타'}" value="%{consultInfoDetail.consultingSubTypeCode}" cssClass="i_radio"/>
                    </td>
                  </tr>
                  <tr id="toc_sub2" style="display:none">
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />분쟁대응 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingSubTypeCode" list="#{'4':'침해','5':'피침해','6':'무단선등록','7':'기타'}" value="%{consultInfoDetail.consultingSubTypeCode}" cssClass="i_radio"/>
                    </td>
                  </tr>
                  <tr id="toc_sub4" style="display:none">
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />침해대응 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingSubTypeCode" list="#{'11':'현지인의 무단 선등록','12':'미등록된 권리에대한 모조품 유통'}" value="%{consultInfoDetail.consultingSubTypeCode}" cssClass="i_radio toc"/><br/>&nbsp;
                    	<s:radio name="consultingSubTypeCode" list="#{'13':'등록된 권리에대한 모조품 유통','14':'기타'}" value="%{consultInfoDetail.consultingSubTypeCode}" cssClass="i_radio toc"/>
                    </td>
                  </tr>
                  <tr id="toc_sub3" style="display:none">
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />기타 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingSubTypeCode" list="#{'8':'사업안내','9':'저작권','10':'기타'}" value="%{consultInfoDetail.consultingSubTypeCode}" cssClass="i_radio"/>
                    </td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담분야 2 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="iprCode" list="#{'1':'특허','2':'실용신안','3':'디자인','4':'상표','5':'기타(저작권 등)'}" value="%{consultInfoDetail.iprCode}" cssClass="i_radio"/>	
                    </td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담방법 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingWayCode" list="#{'1':'전화상담','2':'메일상담','3':'내방상담','4':'출장상담','5':'기타(설명 기재)'}" value="%{consultInfoDetail.consultingWayCode}" cssClass="i_radio"/>	
                    </td>
                  </tr>
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담종류 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3">
                    	<s:radio name="consultingCategory" list="#{'1':'전문가상담','2':'일반상담'}" value="%{consultInfoDetail.consultingCategory}" cssClass="i_radio"/>	
                    </td>
                  </tr>    
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담방법(메모)</th>
                    <td colspan="3">
                    	<textarea name="consultingWayMemo" cols="88" rows="5"><s:property value="consultInfoDetail.consultingWayMemo" escape="false"/></textarea>
                    </td>
                  </tr>  
                  
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />피해규모</th>
                    <td colspan="3">
                    	<input type="text" name="damageLocal" maxlength="10" style="width:115px;" value="<s:property value="consultInfoDetail.damageLocal"/>"/>&nbsp;<label class="Insert_lable">현지화폐</label>
                    	<input type="text" name="damageKrw" maxlength="10" style="width:115px;" value="<s:property value="consultInfoDetail.damageKrw"/>"/>&nbsp;<label class="Insert_lable">KRW</label>
                    	<input type="text" name="damageUsd" maxlength="10" style="width:115px;" value="<s:property value="consultInfoDetail.damageUsd"/>"/>&nbsp;<label class="Insert_lable">USD</label>
                    </td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />애로사항</th>
                    <td colspan="3"><textarea name="difficulty" cols="88" rows="5"><s:property value="consultInfoDetail.difficulty" escape="false"/></textarea></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />상담내용 <span class="TEXT_Red_Bold">*</span></th>
                    <td colspan="3"><textarea name="consultingContent" cols="88" rows="5"><s:property value="consultInfoDetail.consultingContent" escape="false"/></textarea></td>
                  </tr> 
                  <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />향후계획</th>
                    <td colspan="3"><textarea name="futurePlan" cols="88" rows="5"><s:property value="consultInfoDetail.futurePlan" escape="false"/></textarea></td>
                  </tr>  
                <!--   <tr>
                    <th scope="row"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />지원결과</th>
                    <td colspan="3"><textarea name="supportResult" cols="88" rows="5"><s:property value="consultInfoDetail.supportResult" escape="false"/></textarea></td>
                  </tr>-->                                                      
                  <tr>
                    <th scope="row" rowspan="2" class="Bottom_line"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />첨부파일</th>
                    <c:if test="${empty consultInfoDetail.fileName}">
                    <td colspan="3" class="none_line">
                    
                    	<input type="file" name="upload" style="width:465px;"/>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'upload'}" /> 
	   					</s:fielderror>
	   				</td>
	   				</c:if>
                    	<!-- 
                    	&nbsp;<span class="viewboard_btn"><a href="#"><img src="/images/notice/btn_addFile.gif" width="76" height="22" alt="첨부파일" /></a></span>
                    	-->
                  </tr>
                  <tr>
                 
                    <td colspan="3" class="Bottom_line">
                    	 <c:if test="${not empty consultInfoDetail.fileName}">
                    	<s:property value="consultInfoDetail.fileName"/> <img src="/images/report/consult/board_Icon_del.gif" id="btn_del" style="cursor:pointer"/> <br/>
                    	<span class="TEXT_Blue">(최대 40MB)</span>
                    	</c:if>
                    </td>
                   
                  </tr>
                <!--   <tr>
                    <th scope="row" rowspan="2"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />이미지파일1</th>
                    <c:if test="${empty consultInfoDetail.picName1}">
                    <td colspan="3" class="none_line">
                    
                    	<input type="file" name="upload" style="width:465px;"/>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'upload'}" /> 
	   					</s:fielderror>
	   				</td>
	   				</c:if>
                  </tr>
                  <tr>
                    <td colspan="3">
                    	 <c:if test="${not empty consultInfoDetail.picName1}">
                    	 <input type="hidden" name="picName1" value="<s:property value="consultInfoDetail.picName1"/>"/>
                    	<s:property value="consultInfoDetail.picName1"/> <img src="/images/report/consult/board_Icon_del.gif" id="btn_del2" style="cursor:pointer"/> <br/>
                    	<span class="TEXT_Red">(추가 업로드하시려면 기존 파일을 삭제하셔야 합니다. 첨부파일은 개당 최대 3MB 까지 지원 합니다.)</span>
                    	</c:if>
                    </td>
                  </tr>
                  <tr>
                    <th scope="row" rowspan="2"  class="Bottom_line"><img src="/images/report/consult/board_Icon_dot.gif" width="15" height="12" alt="" />이미지파일2</th>
                    <c:if test="${empty consultInfoDetail.picName2}">
                    <td colspan="3" class="none_line">
                    
                    	<input type="file" name="upload" style="width:465px;"/>
                    	<s:fielderror cssClass="errorMessage">
	       	 				<s:param value="%{'upload'}" /> 
	   					</s:fielderror>
	   				</td>
	   				</c:if>
                  </tr>
                  <tr>
                    <td colspan="3"  class="Bottom_line">
                    	 <c:if test="${not empty consultInfoDetail.picName2}">
                    	<s:property value="consultInfoDetail.picName2"/> <img src="/images/report/consult/board_Icon_del.gif" id="btn_del3" style="cursor:pointer"/> <br/>
                    	<span class="TEXT_Red">(추가 업로드하시려면 기존 파일을 삭제하셔야 합니다. 첨부파일은 개당 최대 3MB 까지 지원 합니다.)</span>
                    	</c:if>
                    </td>
                  </tr>-->
                </tbody>
              </table> 
              </dd>
            </dl> 
            <dl class="List_Btn_area"><!-- 버튼 부분 -->
             <dd class="Left_Zone"><a href="/consult/consultList.desk"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>            
             <dd class="Right_Zone"><img src="/images/report/consult/btn_edit.gif" id="btn_consult_modify" width="113" height="26" alt="상담일지수정" style="cursor:pointer"/></dd>
            </dl><!-- 버튼 부분 -->     
           </form>      
          </div>
        </dd>
      </dl>
      <!-- 오른쪽 내용 끝 --> 
    </div>
  </div>
  <!-- center 나누어 지는 부분 끝 --> 
</div>
